/**
 * Created by Administrator on 2017/10/10.
 */
angular.module('module.set')
    .controller('NewsEditController', NewsEditController);
NewsEditController.$inject = ['$localStorage', '$state'];
function NewsEditController($localStorage, $state) {

    var vm = this;

    if (!$localStorage[environmental + "shopid"]) {
        $localStorage.$reset();
        $state.go('login');
    }

    var shopid = $localStorage[environmental + "shopid"];
    vm.typeList = ["语音服务", "需要纸巾", "需要热水", "需要结账", "需要儿童椅", "需要餐具"];
}